<?php
class get{
    public static function index():bool
    {
        /*$header = [
            "Accept: application/vnd.vmware.vmw.rest-v1+json",
            "Authorization: Basic c2NobGlicmE6U3MyMDA0MDkyNS4="
        ];
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, 'http://127.0.0.1:8697/api/vms/EJP768B7N49NLEVTRCKTNFNV1Q9RTMB0');
        curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
        curl_setopt($ch, CURLOPT_HTTPHEADER,$header);
        curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
        $result = curl_exec($ch);
        echo $result;*/

        loadHtml("index");
        return true;
    }

    public static function login():bool
    {
        loadHtml("login");
        return true;
    }
}